package com.wx.md.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wx.md.pojo.AtxDeviceInfo;
import com.wx.md.pojo.ElTreeNode;
import com.wx.md.tb.AcAnDevice;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * (MdacAnDevice)表服务接口
 *
 * @author wx
 * @since 2021-06-08 16:10:42
 */
public interface AcAnDeviceService extends IService<AcAnDevice> {

    AtxDeviceInfo atxInit(AcAnDevice acAnDevice) ;

    List<ElTreeNode> getDevicesTree();
    @Override
    boolean save(AcAnDevice entity);

    @Override
    AcAnDevice getById(Serializable serializable);

    @Override
    boolean updateById(AcAnDevice entity);

    @Override
    boolean removeByIds(Collection<? extends Serializable> collection);

    @Override
    IPage<AcAnDevice> page(IPage<AcAnDevice> iPage, Wrapper<AcAnDevice> wrapper);
}
